package com.dianjing.dianjing.dto.input;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author liangbaigao
 * @Date 2022/11/9 19:12
 */
@Data
public class OrderInput {

    @ApiModelProperty("订单id")
    private Long id;

    @ApiModelProperty(value = "需求方昵称")
    private String demandName;

    @ApiModelProperty(value = "需求方头像")
    private String demandIcon;

    @ApiModelProperty(value = "画师昵称")
    private String painterName;

    @ApiModelProperty(value = "画师头像")
    private String painterIcon;

    @ApiModelProperty(value = "订单标题")
    private String title;

    @ApiModelProperty(value = "订单内容")
    private String content;

    @ApiModelProperty(value = "订单类型")
    private String type;

    @ApiModelProperty(value = "订单报价")
    private Double price;

    @ApiModelProperty(value = "订单ddl")
    private Date ddl;

    @ApiModelProperty(value = "订单状态 0-待创作 1-待确认 2-已完成")
    private Boolean state;

    @ApiModelProperty(value = "订单星级")
    private String starLevel;

    @ApiModelProperty(value = "订单评价")
    private String evaluate;

    @ApiModelProperty(value = "需求方id")
    private Long demandUserId;

    @ApiModelProperty(value = "需求id")
    private Long demandId;

    @ApiModelProperty(value = "画师id")
    private Long painterId;

    @ApiModelProperty(value = "是否公开展示 0-否 1-是")
    private Integer open;

}
